package com.motion.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author www
 * @since 2022-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("User")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "userId", type = IdType.AUTO)
    private Long userId;

    @TableField("phoneNumber")
    private String phoneNumber;

    private String account;

    @TableField("nickName")
    private String nickName;

    @TableField("headPortrait")
    private String headPortrait;

    private Integer type;

    private String password;

    private String token;

    private Integer gender;

    private String intro;

    private LocalDate birthday;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("realName")
    private String realName;

    private Integer grade;

    @TableField("familyAddress")
    private String familyAddress;

    private String hobby;


}
